package day13.homework;

import java.io.Serializable;

public  class SuperUser extends AbstractMessage implements Communicate,Note,Internet, Serializable {
    public SuperUser() {
        super(88);
    }
    public SuperUser(double price) {
        super(price);
    }

    public void print(){
        System.out.println("超人套餐：每月通话时长1500分钟,短信1500条,流量80G,月租"+super.getPrice()+"元");
    }
    @Override
    public void telephone() {
        System.out.println("通话方法");
    }

    @Override
    public void message() {
        System.out.println("短信方法");
    }

    @Override
    public void surf() {
        System.out.println("上网方法");
    }
}
